/*-------------------------------------------------------------------------*/
/**
  @file		plib.h
  @author	Renaud Wanschoor
  @date	july 2004
  @version	$Revision: 2.4 $
  @brief	plib include
  
*/
/*--------------------------------------------------------------------------*/
#ifndef PLIB_H
#define PLIB_H

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <time.h>
#include <ctype.h>
#include <stdarg.h>

#ifndef WINDOWS
#include <sys/types.h>
#include <unistd.h>
#endif

#include "definitions.h"
#include "structures.h"
#include "prototypes.h"
#include "dllmacro.h"

#define MAXLINE 1280000 		/* max size of a line of files */

/* in pagrid */
#ifdef PAGRID

#	ifndef PAGRID_STRUCT_H
#		define PAGRID_STRUCT_H
#		include "pagrid_struct.h"
#	endif

#	include "interface_pagrid.h"
/* in metis */
#else
#ifdef METIS

#	ifndef IDXTYPE_INT
#		include "metis_struct.h"
#	endif

#	include "interface_metis.h"

/* in jostle */
#else
#ifdef JOSTLE
#	ifndef JOSTLE_STRUCT_H
#	define JOSTLE_STRUCT_H
#		include "pagrid_struct.h"
#	endif
#	include "interface_jostle.h"
/* in party */
#else
#ifdef PARTY
#	ifndef IDXTYPE_INT
#		include "metis_struct.h"
#	endif

#	include "interface_party.h"
/* in pagridplot */
#else

#	include "interface_pagrid.h"
#	include "interface_metis.h"
#	include "interface_jostle.h"
#	include "interface_party.h"

#endif
#endif
#endif
#endif

#endif
